// eslint-disable-next-line
import { UserLayout, BasicLayout, BlankLayout, RouteView } from '@/layouts'
import routers from './routers' // 业务路由集合
export const asyncRouterMap = [
  {
    path: '/testDemo',
    meta: {
      title: '组件调试'
    },
    component: () => import('@/views/testDemo/index.vue')
  },
  {
    path: '/',
    meta: {
      title: ''
    },
    component: BasicLayout,
    children: [
      // 业务模块路由
      ...routers,
    ]
  },
  {
    path: '/conferenceScreen',
    meta: {
      title: '会议大屏'
    },
    component: () => import('@/components/ConferenceScreen/ConferenceScreen.vue')
  },
  {
    path: '*',
    redirect: '/404',
    hidden: true
  }
]

/**
 * 基础路由
 * @type { *[] }
 */
export const constantRouterMap = [
  {
    path: '/index',
    meta: {
      title: '中建八局西南公司智慧管控平台'
    },
    component: BasicLayout,
    children: [
      {
        path: '/index',
        component: RouteView, //目前只有“RouteView”这个自定义组件（注意，是自定义组件，不是vue官方的组件），做了keep-alive
        children: [
          {
            path: '/index',
            meta: {
              title: '首页'
            },
            component: () => import('@/views/index/indexPage'),
          },
        ]
      },
      // {
      //   path: '/gateway',
      //   component: RouteView, //目前只有“RouteView”这个自定义组件（注意，是自定义组件，不是vue官方的组件），做了keep-alive
      //   children: [
      //     {
      //       path: '/gateway',
      //       meta: {
      //         title: '门户'
      //       },
      //       component: () => import('@/views/index/gateway'),
      //       hidden: true
      //     },
      //   ]
      // }
    ]
  },
  {
    path: '/user',
    component: UserLayout,
    redirect: '/user/login',
    hidden: true,
    children: [
      {
        path: '/login',
        name: 'login',
        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Login')
      },
      {
        path: 'register',
        name: 'register',
        component: () => import(/* webpackChunkName: "user" */ '@/views/user/Register')
      },
      {
        path: 'register-result',
        name: 'registerResult',
        component: () => import(/* webpackChunkName: "user" */ '@/views/user/RegisterResult')
      },
      {
        path: 'recover',
        name: 'recover',
        component: undefined
      }
    ]
  },

  // {
  //   path: '/project/subcontractors/investigate/share',
  //   name: '/project/subcontractors/investigate/share',
  //   meta: { loginRequest: false },
  //   component: () => import('@/views/subcontractors/investigate/share'),
  // },
  {
    path: '/gateway',
    component: () => import(/* webpackChunkName: "fail" */ '@/views/index/gateway')
  },
  {
    path: '/404',
    component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404')
  },
  {
    path: '/safetySupervision/hazardIdentification/safetyAddConferenceApp',
    component: () =>
      import('@/views/safetySupervision/hazardIdentification/hazardIdentificationList/addConference.vue'),
    name: 'safetyAddConferenceApp'
  },
  {
   path: '/appApproval',
    component: () => import(/* webpackChunkName: "fail" */ '@/views/appApproval')
  },
  {
    path: '/process/project-audit',
    name: 'projectAudit',
    component: () => import('@/views/matters/approval/project')
  },
  {
    path: '/process/subcontract-measurement',
    name: 'subcontractMeasurement',
    component: () => import('@/views/matters/approval/subcontractMeasurement')
  },
  {
    path: '/process/audit',
    name: 'processAudit',
    component: () => import('@/views/matters/approval')
  },
  {
    path:'/safetySupervision/hazardIdentification/waitDoAuto',  // 危险源辨识会议
    name:'waitDoAuto',
    component: () => import("@/views/safetySupervision/hazardIdentification/hazardIdentificationList/waitDoAuto.vue")
  },
  {
    path:'/businessAffairs/updateSettlementAuto',  // 分公司分包结算 - 公司分包结算
    name:'updateSettlementAuto', 
    component: () => import("@/views/businessAffairs/subcontractMeasurement/settlement/updateSettlementAuto.vue")
  },
  {
    path: '/quality/riskIdentification/auditAuto', //质量风险上报业务代办
    name: 'auditAuto', 
    component: () => import('@/views/quality/riskIdentification/riskReporting/auditAuto.vue')
  },
  {
    path: '/quality/riskIdentification/riskTrackingAuditAuto', //质量风险上报业务代办（风险方案处理人）
    name: 'riskTrackingAuditAuto',
    component: () => import('@/views/quality/riskIdentification/riskTracking/auditAuto.vue')
  },
  {
    path: '/project/approvalDetailAuto', //项目管理策划
    name: 'approvalDetailAuto',
    component: () => import('@/views/project/projectManagementPlanning/approvalDetail/indexAuto.vue')
  },
  {
    path: '/project/projectPlanningAssessment/assessment/editAuto', //项目策划考核-纠偏措施 - 项目策划考核-完成效果
    name: 'editAuto',
    component: () => import('@/views/project/projectPlanningAssessment/assessment/editAuto.vue'),
  },
  {
    path: '/technical/ShiGroup/Approval/EditFromAuto', // 施组方案审核意见回复 - 施组方案推优
    name: 'EditFromAuto',
    component: () => import('@/views/technical/ShiGroup/Approval/EditFromAuto')
  },
  {
    path: '/month/examinationProcessingAuto', //分包商月度考核确认
    name: 'examinationProcessingAuto',
    component: () => import('@/views/subcontractors/month/examinationProcessingAuto'),
  },
  {
      path: '/matters/allocate/transferOutConfirmAuto', //计量设备项目调出确认业务代办
      name: 'transferOutConfirmAuto',
      component: () => import('@/views/matters/allocate/transferOutConfirmAuto'),
  },
  {
    path: '/matters/allocate/transferInConfirmAuto', //计量设备项目调入确认业务代办
    name: 'transferInConfirmAuto',
    component: () => import('@/views/matters/allocate/transferInConfirmAuto'),
  },
  {
    path: '/matters/allocate/allocateHandleAuto', //计量设备分公司调拨处理业务代办
    name: 'allocateHandleAuto',
    component: () => import('@/views/matters/allocate/allocateHandleAuto'),
  },
  {
    path: '/matters/todoList/affirmReturnAuto', //计量设备分公司归还业务代办
    name: 'affirmReturnAuto',
    component: () => import('@/views/matters/todoList/affirmReturnAuto'),
  },
  {
    path: '/design/designNeed/designIssueReportingTodoAuto', //设计问题上报
    name: 'designIssueReportingTodoAuto',
    component: () => import("@/views/design/designNeed/designIssueReporting/designIssueReportingTodoAuto"),
  },
  {
    path: '/technical/reviewMeeting/programReview/editAuto', //施组方案线上联审
    name: 'editAuto',
    component: () => import('@/views/technical/reviewMeeting/programReview/editAuto.vue')
  },
  {
    path: '/quality/rectificationNoticeAuditAuto', //质量整改通知单
    name: 'rectificationNoticeAuditAuto',
    component: () => import('@/views/quality/rectificationNotice/rectificationNoticeAuditAuto'),
},
{
  path: '/matters/list/solicitingOpinionsAuto', //流程咨询待办
  name: 'solicitingOpinionsAuto',
  component: () => import('@/views/matters/solicitingOpinions/indexAuto'),
},
{
  path: '/technical/designFM/updatedesignChangesAuto', //设计变更
  name: 'updatedesignChangesAuto',
  component: () => import('@/views/technical/designFM/designChanges/updatedesignChangesAuto.vue'),
},
{
  path: '/project/addDesignChangeAuto', //设计变更A1
  name: 'addDesignChangeAuto',
  component: () => import('@/views/project/design/addDesignChangeAuto'),
},
//   {
//     path: '/project/approvalDetail',
//     name: 'approvalDetail',
//     meta: {
//         title: '项目策划审批详情',
//         noTab: true
//     },
//     component: () => import('@/views/project/projectManagementPlanning/approvalDetail')
// },
  // 销项审批
  {
    path: '/process/implementation/audit',
    name: 'processImplementationAudit',
    component: () => import('@/views/project/implementation/cancellationApproval')
  },
  // 推优审批
  {
    path: '/process/promoteApprove/audit',
    name: 'processPromoteApproveionAudit',
    component: () => import('@/views/project/implementation/promoteApprove')
  },
  // 纳入案例库审批
  {
    path: '/process/caseLibraryApproval/audit',
    name: 'processCaseLibraryApprovalAudit',
    component: () => import('@/views/design/designNeed/designIssueReporting/caseLibraryApproval')
  },
  {
    path: '/process/auditBusinessDetail',
    name: 'AuditBusinessDetail',
    component: () => import('@/views/matters/AuditBusinessDetail')
  },
  {
    path: '/process/materialsAudit',
    name: 'MaterialsAudit',
    component: () => import('@/views/matters/approval/materialsAudit.vue')
  },
  {
    path: '/process/VehicheAudit',
    name: 'VehicheAudit',
    component: () => import('@/views/matters/approval/components/VehicheAudit.vue')
  },
  {
    path: '/process/projectManagerMonthlyReportEvaluateAudit',
    name: 'projectManagerMonthlyReportEvaluateAudit',
    component: () => import('@/views/project/projectManagerMonthlyReportEvaluate/audit.vue')
  },
  {
    path: '/process/riskAudit',
    name: 'riskAudit',
    component: () => import('@/views/Legal/risk/list/riskAudit.vue')
  },
  {
    path: '/project/staffAdjust/approve',
    name: 'projectStaffApprove',
    meta: {
      title: '人员调整审批页面'
    },
    component: () => import('@/views/matters/approval/staffAdjustApprove')
  },
  {
    path: '/project/staffAdjust/approveDetail',
    name: 'projectStaffApproveDetail',
    meta: {
      title: '人员调整审批详情',
      isDetail: true
    },
    component: () => import('@/views/matters/approval/staffAdjustApprove')
  },
  {
    path: '/project/design/demandApprove',
    name: 'designDemandApprove',
    meta: {
      title: '设计需求审批页面'
    },
    component: () => import('@/views/matters/approval/designDemand')
  },
  {
    path: '/design/demandApprove',
    name: 'designDemandApproves',
    meta: {
      title: '设计需求审批页面'
    },
    component: () => import('@/views/design/demand/approve')
  },

  {
    path: '/project/design/support',
    name: 'designSupport',
    meta: {
      title: '设计支持'
    },
    component: () => import('@/views/design/demand/support')
  },
  {
    path: '/project/design/auditdesignManage',
    name: 'projectDesignManage',
    meta: {
      title: '设计策划书审核'
    },
    component: () => import('@/views/design/projectDesignManage/audit')
  },
  {
    path: '/technical/ShiGroup/Approval/audit',
    name: 'Approval',
    hidden: true,
    meta: {
      title: '施组(方案)审批'
    },
    component: () => import('@/views/technical/ShiGroup/Approval/audit')
  },
  {
    path: '/technical/ShiGroup/Approval/signAudit',
    name: 'signAudit',
    hidden: true,
    meta: {
      title: '施组(方案)审批会签'
    },
    component: () => import('@/views/technical/ShiGroup/Approval/signAudit')
  },
  {
    path: '/technical/ShiGroup/Approval/auditorApproval',
    name: 'auditorApproval',
    hidden: true,
    meta: {
      title: '施组方案审批管理审批'
    },
    component: () => import('@/views/technical/ShiGroup/Approval/auditorApproval')
  },

  {
    path: '/businessAffairs/riskRefund/projectRiskRefund/approval',
    name: 'projectRiskRefund',
    hidden: true,
    meta: {
      title: '项目风险金返还审批'
    },
    component: () => import('@/views/businessAffairs/riskRefund/projectRiskRefund/approval')
  },
  {
    path: '/businessAffairs/riskRefund/personalRiskRefund/approval',
    name: 'personalRiskRefund',
    hidden: true,
    meta: {
      title: '个人风险金返还审批'
    },
    component: () => import('@/views/businessAffairs/riskRefund/personalRiskRefund/approval')
  },
  {
    path: '/subcontractors/entryReview',
    hidden: true,
    name: "subcontractorsEntryReview",
    meta: {
        title: '分包商进场审批',
    },
    component: () => import('@/views/subcontractors/entryReview'),
    icon: 'none'
  },
  {
    path: '/subcontractors/exitReview',
    hidden: true,
    name: "subcontractorsExitReview",
    meta: {
        title: '分包商出场审批',
    },
    component: () => import('@/views/subcontractors/exitReview'),
    icon: 'none'
  },
  {
    path: '/businessAffairs/riskRefund/personalRiskPayment/approval',
    name: 'personalRiskPayment',
    hidden: true,
    meta: {
      title: '个人风险金补缴审批'
    },
    component: () => import('@/views/businessAffairs/riskRefund/personalRiskPayment/approval')
  },
  // {
  //   path: '/safetySupervision/hazardousOperation/hazardousOperationList/approval',
  //   name: 'personalRiskToTurn',
  //   hidden: true,
  //   meta: { title: '危险作业审批' },
  //   component: () => import('@/views/safetySupervision/hazardousOperation/hazardousOperationList/approval')
  // },
  {
    path: '/businessAffairs/riskRefund/personalRiskToTurn/approval',
    name: 'personalRiskToTurn',
    hidden: true,
    meta: {
      title: '个人风险金转抵审批'
    },
    component: () => import('@/views/businessAffairs/riskRefund/personalRiskToTurn/approval')
  },
  {
    path: '/businessAffairs/subcontractMeasurement/projectSubcontractVisa/auditProjectSubcontractVisa',
    name: 'auditProjectSubcontractVisa',
    hidden: true,
    meta: {
      title: '分包签证'
    },
    component: () => import('@/views/businessAffairs/subcontractMeasurement/projectSubcontractVisa/auditProjectSubcontractVisa')
  },
  {
    path: '/technical/dataManage/dailyDataManag/approval',
    name: 'dailyDataManag',
    hidden: true,
    meta: {
      title: '日常资料管理审批'
    },
    component: () => import('@/views/technical/dataManage/dailyDataManag/approval')
  },
  {
    path: '/technical/designFM/designChanges/approval',
    name: 'designChanges',
    hidden: true,
    meta: {
      title: '设计变更审批'
    },
    component: () => import('@/views/technical/designFM/designChanges/approval')
  },
  {
    path: '/technical/designFM/drawingAndNegotiation/approval',
    name: 'drawingAndNegotiation',
    hidden: true,
    meta: {
      title: '图纸会审/技术洽商审批'
    },
    component: () => import('@/views/technical/designFM/drawingAndNegotiation/approval')
  },
  {
    path: '/construction/gantt/views',
    name: 'viewsConstructionGantt',
    meta: {
      title: '查看施工进度总计划',
      noTab: true
    },
    component: () => import('@/views/construction/gantt/planDetails')
  },
  {
    path: '/construction/addAdjustViews',
    name: 'viewsAdjust',
    meta: {
      title: '查看施工进度总计划调整',
      noTab: true
    },
    component: () => import('@/views/construction/adjust/list/adjustDetails')
  },
  {
    path: '/project/subcontractors/investigate/views',
    name: 'viewsSubconstractors',
    meta: {
      title: '查看分包商考察',
      noTab: true
    },
    component: () => import('@/views/subcontractors/investigate/details')
  },
  {
    path: '/project/design/views',
    name: 'viewsDesignPlots',
    meta: {
      title: '查看设计策划计划表',
      noTab: true
    },
    component: () => import('@/views/design/plots/details')
  },
  {
    path: '/project/design/details',
    name: 'viewsDesignDetails',
    meta: {
      title: '设计策划书详情',
      noTab: true
    },
    component: () => import('@/views/design/projectDesignManage/details')
  },
  {
    path: '/stop-construction/details',
    name: 'stopConDetails',
    meta: {
      title: '项目停缓建详情',
      noTab: true
    },
    component: () => import('@/views/project/stopConstruction/details')
  },
  {
    path: '/stop-work/details',
    name: 'stopWorkDetails',
    meta: {
      title: '项目停工详情',
      noTab: true
    },
    component: () => import('@/views/project/stopWork/details')
  },
  {
    path: '/design-change/details',
    name: 'changeDetails',
    meta: {
      title: '设计变更（a1类项目）详情',
      noTab: true
    },
    component: () => import('@/views/project/design/addDesignChange')
  },
  {
    path: '/design-resource/recommend/details',
    component: () => import('@/views/design/resource/recommend/add'),
    name: 'viewResourceRecommand',
    meta: {
      title: '查看设计资源推荐',
      noTab: true
    }
  },
  {
    path: '/design-resource/inspection/details',
    meta: {
      title: '设计资源考察详情',
      noTab: true
    },
    component: () => import('@/views/design/resource/investigate/add'),
    icon: 'none',
    hidden: 'true'
  },
  {
    path: '/design-demand/details',
    meta: {
      title: '设计需求详情',
      noTab: true
    },
    component: () => import('@/views/design/demand/details')
  },
  {
    path: '/design-result/details',
    meta: {
      title: '设计资料详情'
    },
    component: () => import('@/views/project/result/details'),
    icon: 'none'
  },
  {
    path: '/optimization/details',
    name: 'projectOptimizationDetails',
    meta: {
      title: '双优化立项详情',
      noTab: true
    },
    component: () => import('@/views/project/optimization/details')
  },
  {
    path: '/implementation/details',
    name: 'projectImplementationDetails',
    meta: {
      title: '双优化实施详情',
      noTab: true
    },
    component: () => import('@/views/project/implementation/details')
  },
  {
    path: '/pointsRecord/details',
    name: 'pointsRecordsDetails',
    meta: {
      title: '项目经理扣分详情'
    },
    component: () => import('@/views/project/pointsRecord/details')
  },
  {
    path: '/integral/details',
    name: 'integralsDetils',
    meta: {
      title: '项目经理积分详情'
    },
    component: () => import('@/views/project/integral/details')
  },
  {
    path: '/project/design/demand/approve',
    meta: {
      title: '设计需求申请审批'
    },
    component: () => import('@/views/design/demand/approve'),
    icon: 'none',
    hidden: 'true'
  },
  {
    path: '/project/assessmentDetail',
    meta: {
      title: '项目经理对分包商考核详情',
      noTab: true
    },
    component: () => import('@/views/evaluate/assessment/detail'),
    icon: 'none',
    hidden: true
  },
  {
    path: '/subcontractors/recommend/details',
    meta: {
      title: '分包商推荐详情',
      noTab: true
    },
    component: () => import('@/views/subcontractors/recommend/details'),
    icon: 'none'
  },
  {
    path: '/project/maintain/details',
    name: 'maintainDetails',
    meta: {
      title: '维保期详情',
      noTab: true
    },
    component: () => import('@/views/project/maintain/details')
  },
  {
    path: '/month/detail',
    name: 'monthDetail',
    meta: {
      title: '施工进度月计划详情',
      noTab: true
    },
    component: () => import('@/views/construction/plan/monthPlanDetail')
  },
  {
    path: '/construction/node/details',
    name: 'conNodeDetails',
    meta: {
      title: '节点详情',
      noTab: true
    },
    component: () => import('@/views/construction/manager/details')
  },
  {
    hidden: 'true',
    path: '/annual-grading/details',
    meta: {
      title: '分包商年度评级详情',
      noTab: true,
      parent: {
        path: '/annual-rating/list',
        title: '分包商年度评级'
      }
    },
    component: () => import('@/views/subcontractors/year/grading'),
    icon: 'none'
  },
  {
    path: '/quality/measuredAmount/map/mapEdit',
    name: '/quality/measuredAmount/map/mapEdit',
    meta: {
      title: '点位地图维护',
      noTab: true
    },
    component: () => import('@/views/quality/measuredAmount/map/mapEdit')
  },
  {
    path: '/quality/measuredAmount/map/pointInfo',
    name: '/quality/measuredAmount/map/pointInfo',
    meta: {
      title: '点位详情',
      noTab: true
    },
    component: () => import('@/views/quality/measuredAmount/map/pointInfo')
  },
  {
    path: '/conference/standardConference/conferenceList/conferenceScreen',
    name: 'conferenceScreen',
    meta: {
      title: '会议大屏',
      noTab: true
    },
    component: () => import('@/views/conference/standardConference/conferenceList/conferenceScreen')
  },
  {
    path: '/conference/annualConference/conferenceRoomReservation/conferenceScreen',
    name: 'annualConferenceScreen',
    meta: {
      title: '年度会议大屏',
      noTab: true
    },
    component: () => import('@/views/conference/annualConference/conferenceRoomReservation/conferenceScreen.vue')
  },
  {
    path: '/meetingRoomProjection',
    name: 'meetingRoomProjection',
    meta: {
      title: '会议室预定投屏',
      noTab: true
    },
    component: () => import('@/views/conference/annualConference/components/meetingRoom.vue')
  },
  {
    path: '/meetingRoomProjectionDetail',
    name: 'meetingRoomProjectionDetail',
    meta: {
      title: '投屏会议信息',
      noTab: true
    },
    component: () => import('@/views/conference/annualConference/components/meetingDetail.vue')
  },
  {
    path: '/annualMeetingPlanDetail',
    name: 'annualMeetingPlanDetail',
    meta: {
      title: '查看年度会议详情',
      noTab: true
    },
    component: () => import('@/views/conference/annualConference/conferencePlan/edit.vue')
  },
  {
    path: '/screenTable',
    name: 'screenTable',
    meta: {
      title: '分公司工程履约管理',
      noTab: true
    },
    component: () => import('@/views/project/performanceAnalysis/branchPerformanceAnalysis/screenTable.vue')
  },
  {
    path: '/screenTableCom',
    name: 'screenTableCom',
    meta: {
      title: '公司工程履约管理',
      noTab: true
    },
    component: () => import('@/views/project/performanceAnalysis/companyPerformanceAnalysis/screenTable.vue')
  },
  {
    path: '/plotProgram/plotProgramEdit',
    name: '/plotProgram/plotProgramEdit',
    meta: {
      title: '质量策划方案管理详情'
    },
    component: () => import('@/views/quality/plotProgram/plotProgramEdit')
  },
  {
    path: '/excellentPlanning/excellentPlanningEdit',
    name: '/excellentPlanning/excellentPlanningEdit',
    meta: {
      title: '质量创优策划管理详情'
    },
    component: () => import('@/views/quality/excellentPlanning/excellentPlanningEdit')
  },
  {
    path: '/experiment/experimentPlan/experimentPlanEdit',
    name: '/experiment/experimentPlan/experimentPlanEdit',
    meta: {
      title: '试验计划详情'
    },
    component: () => import('@/views/quality/experiment/experimentPlan/experimentPlanEdit')
  },
  {
    path: '/governancePlan/governancePlanEdit',
    name: '/governancePlan/governancePlanEdit',
    meta: {
      title: '专项治理方案管理详情'
    },
    component: () => import('@/views/quality/governancePlan/governancePlanEdit')
  },
  {
    path: '/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit',
    name: '/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit',
    meta: {
      title: '展示区样板实施申请详情'
    },
    component: () => import('@/views/quality/modelProject/exhibitionAreaApplication/exhibitionAreaApplicationEdit')
  },
  {
    path: '/modelProject/implementationPlan/implementationPlanEdit',
    name: '/modelProject/implementationPlan/implementationPlanEdit',
    meta: {
      title: '样板工程实施计划新增'
    },
    component: () => import('@/views/quality/modelProject/implementationPlan/implementationPlanEdit')
  },
  {
    path: '/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit',
    name: '/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit',
    meta: {
      title: '预验收申请详情'
    },
    component: () =>
      import('@/views/quality/preAcceptanceManagement/preAcceptanceApplication/preAcceptanceApplicationEdit')
  },
  {
    path: '/receivanceManagement/receivancePlan/receivancePlanEdit',
    name: '/receivanceManagement/receivancePlan/receivancePlanEdit',
    meta: {
      title: '质量验收计划详情'
    },
    component: () => import('@/views/quality/receivanceManagement/receivancePlan/receivancePlanEdit')
  },
  {
    path: '/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit',
    name: '/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit',
    meta: {
      title: '质量奖罚详情'
    },
    component: () => import('@/views/quality/rewardAndPenalty/rewardAndPenaltyManage/rewardAndPenaltyManageEdit')
  },
  {
    path: '/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit',
    name: '/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit',
    meta: {
      title: '六项措施计划详情'
    },
    component: () => import('@/views/quality/sixMeasures/sixMeasuresManage/sixMeasuresManageEdit')
  },
  {
    path: '/baseSetting/personManageEdit',
    meta: {
      title: '人员基础信息详情'
    },
    component: () => import('@/views/subcontractors/baseSetting/personManageEdit')
  },
  {
    path: '/subcontractors/groupEmployeeManage',
    meta: {
      title: '班组人员管理'
    },
    component: () => import('@/views/subcontractors/groupEmployeeManage')
  },
  {
    path: '/science/plots/detail',
    name: '/science/plots/detail',
    meta: {
      title: '科技管理策划新增'
    },
    component: () => import('@/views/science/plots/detail')
  },
  {
    path: '/science/plan/detail',
    meta: {
      title: '计划详情'
    },
    component: () => import('@/views/science/plan/detail')
  },
  {
    path: '/science/achievements-manage/detail',
    name: '/science/achievements-manage/detail',
    props: {
      IdType: 0
    },
    component: () => import('@/views/science/achievementsManage/details.vue'),
    meta: {
      title: '科技成果详情',
      hideHeader: true,
      permission: ['form', 'table']
    }
  },
  {
    path: '/achievements-manage/complete',
    name: '/achievements-manage/complete',
    props: {
      IdType: 1
    },
    component: () => import('@/views/science/achievementsManage/details.vue'),
    meta: {
      title: '科技成果详情',
      hideHeader: true,
      permission: ['form', 'table']
    }
  },
  {
    path: '/achievements-manage/declare',
    name: '/achievements-manage/declare',
    props: {
      IdType: 2
    },
    component: () => import('@/views/science/achievementsManage/details.vue'),
    meta: {
      title: '科技成果详情',
      hideHeader: true,
      permission: ['form', 'table']
    }
  },
  {
    path: '/project/subcontractors/investigate/share',
    meta: {
      title: '分包商考察分享',
      noTab: true
    },
    component: () => import('@/views/subcontractors/investigate/share'),
    icon: 'none'
  },
  {
    path: '/science/technology-application/detail',
    name: '/science/technology-application/detail',
    component: () => import('@/views/science/achievementsExtend/technologyApplication/detail'),
    meta: {
      title: '新技术应用情况详情',
      hideHeader: true,
      permission: ['form', 'table']
    }
  },
  {
    path: '/office/archivesBorrowingAudit',
    props: {
      detailType: '1'
    },
    component: () => import('@/views/office/archivesBorrowing/archivesBorrowingEdit'),
    name: '/office/archivesBorrowingAudit',
    meta: {
      title: '档案借阅审批'
    }
  },
  {
    path: '/office/archivesBorrowingDetail',
    props: {
      detailType: '2'
    },
    component: () => import('@/views/office/archivesBorrowing/archivesBorrowingEdit'),
    name: '/office/archivesBorrowingDetail',
    meta: {
      title: '档案借阅详情'
    }
  },
  {
    path: '/union/democracy/staffRationalizationSuggestions/detail',
    component: () =>
      import('@/views/union/democracy/staffRationalizationSuggestions/staffRationalizationSuggestionsEdit'),
    name: '/union/democracy/staffRationalizationSuggestions/detail',
    meta: {
      title: '职工合理化建议详情'
    }
  },
  {
    path: '/union/democracy/corporateAffairsOpen/detail',
    component: () => import('@/views/union/democracy/corporateAffairsOpen/corporateAffairsOpenEdit'),
    name: '/union/democracy/corporateAffairsOpen/detail',
    meta: {
      title: '企务公开详情'
    }
  },
  {
    path: '/union/workerProtection/report/detail',
    component: () => import('@/views/union/workerProtection/report/reportEdit'),
    name: '/union/workerProtection/report/detail',
    meta: {
      title: '职工维权上报详情'
    }
  },
  {
    path: '/discipline/integrityCultureConstructionDetail',
    component: () => import('@/views/disciplineInspection/integrityCultureConstruction/detail'),
    name: '/discipline/integrityCultureConstructionDetail',
    meta: {
      title: '文化建设活动详情'
    }
  },
  {
    path: '/project/projectPlanningTaskList/appDetail',
    name: 'ProjectPlanningTaskListDetailappDetail',
    meta: {
      title: '项目策划任务表',
      noTab: true
    },
    component: () => import('@/views/project/projectManagementPlanning/projectPlanningTaskList/detail/appDetail')
  },
  {
    path: '/project/projectManagementPlanning/projectManagementPlanningComponentsApp',
    name: 'projectManagementPlanningComponentsApp',
    meta: {
      title: '项目管理策划明细表',
      noTab: true
    },
    component: () => import('@/views/project/projectManagementPlanning/projectManagementPlanningComponents/projectManagementPlanningComponentsApp'),
    icon: 'none',
    hidden: true
  },
  {
    path: '/webView/appAuditDetail',
    name: 'appAuditDetail',
    meta: {
      title: '审批信息',
      noTab: true
    },
    component: () => import('@/views/webView/appAuditDetail'),
    icon: 'none',
    hidden: true
  },
  {
    path: '/businessAffairs/subcontractMeasurement/audit',
    component: () => import('@/views/businessAffairs/subcontractMeasurement/addListContract/audit.vue'),
    name: '/businessAffairs/subcontractMeasurement/audit',
    meta: {
      title: '新增清单或超额合同审批',
    },
  },
  {
    path: '/share/asset', // /share/asset?id=xxxxx
    name: 'AssetDetailShare',
    meta: {title: '分享-资产详情'},
    component: () => import('@/views/materials/assets/material/manage/sharePage'),
  }
]
